﻿body
{
    background-color: Black;
    font-size: .75em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #fff;
    width:992px;
}

a:link
{
    color: #FFFFFF;
}
a:visited
{
    color: #fff;
}
a:hover
{
    color:Red;
    text-decoration: none;
}
a:active
{
    color: #fff;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
	background: transparent url(/content/logo.png) no-repeat top left;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    height:130px;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0px 0px 85px;
    margin: 0px;
    color: #fff;
    border: none;
    line-height: 2em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px !important;
}

#main
{
	border-top: 1px #5C87B2 solid;
	clear:both;
    background-color: #333333;
 }
 
#main2 
{
	clear:both;
}

#content
{
	padding: 30px 10px 15px 30px;
	float:left; 
	width:490px;
}

#content_home, #backoffice {
	clear:both;
	padding: 20px 20px 20px 20px;
}

#backoffice {
	background:#5C87B2;
}

#right
{ 
	float:right;
	width:300px;
    padding: 30px 10px 15px 10px;
    background-color: #666666;
}

#footer
{
    background:#5c87b2;
	color:#fff;
    padding: 10px 10px 10px 10px;
    line-height: normal;
    margin: 0;
    font-size: .9em;
    clear:both;
}
#footer a 
{
	color:#fff!important;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    margin: 0px;
    text-align: right;
}

ul#menu li
{
    display: inline;
    list-style: none;
    white-space:nowrap;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a:hover, .active
{
    background-color: #5c87b2!important;
    color:#fff!important;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #5c87b2;
    color:#f00000;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset label 
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

.editor-label
{
    margin:2px;
    width:150px;
    float:left;
}
.editor-field
{
    margin:2px;
    float:left;
}
.clear
{
    clear:both;
}

/* TABLE
----------------------------------------------------------*/

.DDDetailsTable, .grid
{
  border: solid 1px #e8eef4;
  /*border-collapse: collapse;*/
  width:100%;
}

tr.td > td
{
  padding: 5px;   
  border: solid 1px #e8eef4;
}

.th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #c9c9c9; 
  border: solid 1px #e8eef4;   
  color:#000!important;
}

.th a 
{
	color:#000!important;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

#menucontainer
{
    margin-top:80px;
}

div#title
{
    color:#fff;
    display:none;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.1em;
    display:block;
    text-align:right;
    margin:10px;
    color:#fff;
}

#logindisplay a:link
{
    color: #fff;
}

#logindisplay a:visited
{
    color: #fff;
}

#logindisplay a:hover
{
    color: #fff;
    text-decoration: none;
}

.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

/* tabella HTML simulata con CSS */
div.table {
	padding: 5px 5px 5px 5px;
	/*width: 550px;*/
}
div.tr {
	clear:both;
	width: 100%;
	padding: 3px 0px 6px 0px;
}
div.td1 {
	float: left;
	width: 40%;
	font-weight: bold;
	height: 20px;
}
div.td2 {
	float: right;
	width: 60%;
	height: 20px;
	height: auto !important;
	min-height: 20px !important;
}
div.td2 * {
	vertical-align: top;
}

div.td {
	float:left;
	height: 20px;
	height: auto !important;
	min-height: 20px !important;
}

div.tr_submit {
	width: 100%;
	clear: both;
	text-align: right;
	padding: 5px 0px 8px 0px;
	margin-right: 10%;
}

#aspNetHidden {
display:none;
}

/* MVC views */
.imageThumb
{
	clear:both;
	padding-bottom: 10px;
}

.modelsCatalog
{
	clear:both;
	padding:40px;
}

.homeCatalog .modelsCatalog 
{
	height:150px;
}

.homeCatalog .modelsCatalog .imageThumb 
{
	width:150px;
	float:left;
	clear:none!important;
}

div.pager ul li
{
	display:inline;
	list-style-type: none;
	padding:5px;
}

#imageContainer ul li
{
	display:inline;
	list-style-type: none;
	margin:5px;
	text-align:center;
}

.newsContainer 
{
	border-top: 1px dashed #5c87b2;
}

#content_home .newsContainer 
{
	float:left;
	width:200px;
}

.singleNews
{
	padding: 2px 2px 10px 2px;
	border-bottom: 1px dashed #5c87b2;
}

.singleNews h3 
{
	font-size:19px;
}

.singleNews p
{
	padding: 0p 10px 0px 10px;
	font-style:italic;
}

.modelsCarousel
{
	float:left;
	width:620px;
	text-align:center;
	margin: auto;
}